package gui.menu.actions;

import gui.Frame;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import language.LanguageLoader;

public class SimpleAction extends AbstractAction
{
   /**
    * 
    */
   private static final long serialVersionUID = 1L;
   private Frame frame;
   /** Create this action for the given frame */
   public SimpleAction(Frame frame)
   {
      super("Simple Mode");
      this.frame = frame;
   }

   @Override
   public void actionPerformed(ActionEvent arg0)
   {
      // TODO Auto-generated method stub
      new LanguageLoader("en", "Au");
      frame.setLanguage();
      frame.setSimpleMode();

   }

}
